#include "head.h"

int recvOrder(int netfd,int* orderflag,char* args)
{
    int length;
    char buf[1000];
    recv(netfd,&length,sizeof(int),MSG_WAITALL);
    recv(netfd,buf,length,MSG_WAITALL);
    sscanf(buf,"%d%s",orderflag,args);

    return 0;
}
